package iot.core.data.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import iot.core.data.BaseEntity;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.util.Date;


@Data
@Schema(name = "异常表",description = "")
@TableName(value ="HTError")
public class HTError extends BaseEntity {


    @Schema(name = "请求Host",description = "")
    @Size(min =0,max = 50,message = "长度范围0-50")
    private  String  Host ="";

    @Schema(name = "请求Host",description = "")
    @Size(min =0,max = 50,message = "长度范围0-50")
    private  String  Url ="";

    @Schema(name = "操作",description = "")
    @Size(min =0,max = 200,message = "长度范围0-200")
    private  String  Memo ="";

    @Schema(name = "关联ID",description = "")
    @Size(min =0,max = 50,message = "长度范围0-50")
    private  String  Glid ="";

    @Schema(name = "参数",description = "")
    private  String  Pin ="";

    @Schema(name = "错误类名",description = "")
    @Size(min =0,max = 50,message = "长度范围0-50")
    private  String  Ex_ClsName ="";

    @Schema(name = "错误信息",description = "")
    @Size(min =0,max = 200,message = "长度范围0-200")
    private  String  Ex_Msg ="";

    @Schema(name = "错误详细信息",description = "")
    private  String  Ex_FullMsg ="";

    @Schema(name = "平台编号",description = "")
    private  Long  HTPlat_Id =0L;

    @Schema(name = "IP",description = "")
    @Size(min =0,max = 50,message = "长度范围0-50")
    private  String  IP ="";

    @Schema(name = "浏览器",description = "")
    @Size(min =0,max = 50,message = "长度范围0-50")
    private  String  Browser ="";

    @Schema(name = "App版本",description = "")
    @Size(min =0,max = 20,message = "长度范围0-20")
    private  String  Appver ="";

    @Schema(name = "姓名",description = "")
    @Size(min =0,max = 50,message = "长度范围0-50")
    private  String  Name ="";

    @Schema(name = "机构编码",description = "")
    private  Long  HTDept_Id =0L;

    @Schema(name = "登录编号",description = "")
    private  Long  HTUserLogin_Id =0L;

    @Schema(name = "机构名称",description = "")
    @Size(min =0,max = 100,message = "长度范围0-100")
    private  String  HTDept_Name ="";

    @Schema(name = "创建日期",description = "")
    private  Date  Crt_DT ;

    @Schema(name = "用户编号",description = "")
    private  Long  Crt_UId =0L;

    @Schema(name = "机构编号",description = "")
    private  Long  Crt_DId =0L;



}
